<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
글 수정 페이지 입니다.
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<spring:hasBindErrors name="command" />
<form:errors path="command"/>
<form action="updateBoard.do" enctype="multipart/form-data" method="post">
	<input type="hidden" name="b_num" value="${command.b_num}">
	<spring:message code="write.form.b_title"/>
	<input type="text" name="b_title" value="${command.b_title }">
	<form:errors path="command.b_title"/><br>
	
	<spring:message code="write.form.m_id"/>
	<input type="text" name="m_id" value="${command.m_id }">
	<form:errors path="command.m_id"/><br>
	
	<spring:message code="write.form.b_content"/>
	<textarea rows="10" cols="50" name="b_content" >${command.b_content }</textarea>
	<form:errors path="command.b_content"/><br>
	
	<spring:message code="write.form.upload"/>
	<input type="file" name="upload" ><br>
	<c:if test="${!empty command.upload }">
	(${command.b_filename}) 파일이 등록되어 있습니다. <br>
	</c:if>
	<input type="submit" value="<spring:message code="write.form.submit" />">
	<input type="button" value="<spring:message code="list.content.title" />" 
											onclick="location.href='boardList.do'">
</form>





